/*
${' '}* Copyright ${.now?string('yyyy')} The JA-SIG Collaborative. All rights reserved.
${' '}* distributed with this file and available online at
${' '}*/
package ${basePackage}.application.${module}.command;<#lt>

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Schema(description = "更新${tableComment}命令")
public class Update${className}Cmd {
<#if fields??>
  <#assign validFields = fields?filter(field -> !field.ignoreCommand)>
  <#list validFields as field>

    <#if field.annotations?? && field.annotations?size gt 0>
      <#list field.annotations as annotation>
  ${annotation}
      </#list>
    </#if>
  @Schema(description = "${field.comment!''}")
  private ${field.javaType} ${field.fieldName};
  </#list>
</#if>
}
